
 VIRTUAL MAX CHAT VERSION 4.0 SETUP INSTRUCTIONS - http://vmax.netfx.com
 ==============================================================================================

1) Unzip package with winzip or any other unzip program for win95, win98.

2) Create one directory on your server called chatserver make sure it is not in the http path
   because we want it to be secure some what.

 VIRTUAL MAX CHAT SERVER

3) Open your FTP program and copy over the chat server .class files in binary mode into that 
   directory, and copy over the .cfg file in ASCII mode into that directory , chmod that 
   directory to 755.

 VIRTUAL MAX CHAT CLIENT

4) Create another directory in the http path, this will be your chat directory, you can call 
   this whatever you like, copy over the client files, image files, html files and sound files 
   into that directory, chmod to 755.

5) If you are adding more than one server to the network than you will need to repeat number 4
   for each server.

Note: Each server is separate from each other inside the network, if you want to have more than
one different looking client for the same server just point that client port to that one server, 
and use different images for that client, you may do this for an unlimited number of clients.


 RULES ON FTPING TO SERVER

When you copy files to a server you must follow these guidlines to get the most out of what
you are copying to the server.

File Extension   Copy Over in this Mode

.class files        	Binary
.gif files		Binary
.jpg files		Binary
.jar files		Binary
.cfg files		Ascii
.html files		Ascii
.au files		Ascii

Follow these guidlines and your images should look just the same as they came off your computer 
to the server.

6) Once the files are copied to the server you will need to make sure the codebase reflects the 
   chat server directory, also if you are using different images for each server you will need 
   specify each path, look at the example below for reference:

<APPLET CODE="vmaxchatclient.class" CODEBASE="../chatserver" WIDTH=580 HEIGHT=360> 
<PARAM NAME="FONT"                 VALUE="dialog,1,10"> 
<PARAM NAME="TEXTCOLOR"            VALUE="ffffff"> 
<PARAM NAME="FROMCOLOR"            VALUE="ffffff"> 
<PARAM NAME="BGCOLOR"              VALUE="000000"> 
<PARAM NAME="LISTHLCOLOR"          VALUE="000080"> 
<PARAM NAME="BUTTONHLCOLOR"        VALUE="ffffff"> 
<PARAM NAME="BUTTONCOLOR"          VALUE="5c6c7c"> 
<PARAM NAME="BUTTONTEXTCOLOR"      VALUE="000000"> 
<PARAM NAME="PRIVATECOLOR"         VALUE="000080"> 
<PARAM NAME="LOGIMAGE"             VALUE="/chat/chat2/chatlog2.gif"> 
<PARAM NAME="BGIMAGE"              VALUE="/chat/chat2/bgimage2.gif"> 
<PARAM NAME="ROOMICONS"            VALUE="newroom.gif,uproom.gif,room.gif,proom.gif"> 
<PARAM NAME="USERICONS"            VALUE="user.gif,nruser.gif,nsuser.gif,nsnruser.gif"> 
<PARAM NAME="RULLERS"              VALUE="ruller.gif,pruller.gif,sruller.gif,eruller.gif"> 
<PARAM NAME="LOCATIONRECT"         VALUE="89,28,300,16"> 
<PARAM NAME="ROOMSRECT"            VALUE="455,29,100,135"> 
<PARAM NAME="USERSRECT"            VALUE="455,203,100,329"> 
<PARAM NAME="INPUTRECT"            VALUE="13,329,425,16"> 
<PARAM NAME="DISPLAYRECT"          VALUE="17,59,425,252"> 
<PARAM NAME="EXITRECT"             VALUE="390,31,41,16"> 
<PARAM NAME="MODEPOINT"            VALUE="-10,-50"> 
<PARAM NAME="CLIPS"                VALUE="s09.au,s14.au,s25.au,s20.au,s38.au,s39.au,s52.au,s53.au"> 
<PARAM NAME="WELCOME"              VALUE="Welcome to Virtual Max Chat Network \nIf you need help type /h in message field."> 
<PARAM NAME="HELP"                 VALUE="--------------------------------------------------------------------------------------------------------------------------------------- \n 
-                                           Welcome to Virtual Max Help                                           - \n
--------------------------------------------------------------------------------------------------------------------------------------- \n 
1) Help - Type in /h in the message field for this page. \n\n 
2) Private Messages - Click user to send a private message. \n\n
3) Pager Messages - Click pager and fill in the field with the recipients nick name. \n\n
4) Ignore Users - Click on user and turn them off by clicking the ear. \n\n
5) Create a Room - By clicking on New Room and entering the information. \n
--------------------------------------------------------------------------------------------------------------------------------------- \n\n">
<PARAM NAME="AUTHOR"               VALUE="Virtual_Max (http://vmax.netfx.com)"> 
<PARAM NAME="PORT"                 VALUE="1000">
</APPLET>

If you look at the LOGIMAGE param it reflects that the images I want to use are in 
www.yourname.com/chat/chat2  directory, this also is the fact for the BGIMAGE param.

You will need to do this if you are setting up multiple servers, or it will reflect the images 
from the codebase only, so you will need to change this to take affect.

7) The port param should coincide with the vmaxserver.cfg in the chatserver directory, look
   below for reference:

maxusers: 600
key: -123-136-50-148-71-135-12-14310135
masterpassword: joeshmoe 

port: 1000
userlimit: 250
room: Teens
room: Over_20
room: Over_30
room: Over_40
room: Over_50

port: 1001
userlimit: 250
room: Teens
room: Over_20
room: Over_30
room: Over_40
room: Over_50

port: 1002
userlimit: 250
room: Teens
room: Over_20
room: Over_30
room: Over_40
room: Over_50

end:

This is a copy of a test .cfg file which will be setup just like this in the chatserver 
directory.

Maxusers   	means the total amount of concurrent users for the whole network meaning 
		this is your overall limit for all servers combined, this also coincides with
		the key so if you try to add more users than what the key we generated for you 
		has the chat server will turn into a trial version.

Key     	Your generated key we make for you goes here, do not put a param on the 
		chat page and put your key there it will not work, it will only turn your chat 
		into a trial version with 10 concurrent users.

Masterpassword	This lets you access a privately locked room if you are an administrator
		to delete unwanted rooms, entering private rooms with this key and exiting 
		will automatically delete the unwanted room, this key will be used for all
		servers on the network for the same purpose.

Port 		This will coincide with each chat page you will setup for each server, both
		the param port and the server port in the .cfg file must be the same or the 
		chat client will not work with that server.

Userlimit	Is the maximum aloud user limit for that room if the limit of other rooms 
		have not been reached.

Room		This will be the first level room structure for each room.


Note: If you are only setting up one chat server with a 200 user key the vmaxserver.cfg should 
look like this below.


maxusers: 200
key: -123-136-50-148-71-135-12-14310135
masterpassword: joeshmoe 

port: 1000
userlimit: 250
room: Teens
room: Over_20
room: Over_30
room: Over_40
room: Over_50


8) Once you have the vmaxserver.cfg file all setup like the above examples than copy over to the
   chatserver directory.

9) You may start the chat server by envoking this command below at the telnet command prompt, you
   must be root to do this, and you must cd to the chatserver directory to where your chat server
   class files are.

>nohup java vmaxserver >server.log &


For NT users we have created an vmaxserver.bat file for you, you can either double click on it to 
start the server or you can make a shortcut to it and put the shortcut into the startup directory
in the TASKBAR & STARTMENU or taskbar properties, click advanced and Exploring Start Menu should 
appear, next click the plus sign beside programs, scroll down until you see StartUp directory,
click on it and paste the shortcut there. Now everytime you reboot your machine the chat will 
start on its own, when it does an MS-Dos window will open to show that its started, you may close
this window now. 

To kill the process, Ctrl+Alt+Del once to envoke the task manager and than select task you want 
to kill (select javaw, then click end task). The chat server will now be shutdown and you may 
make your changes accordingly. But in most cases you won't need to do this unless you are adding 
another server in the vmaxserver.cfg file. You can however make changes to the client and the 
images while the server is running, below is a copy of what you might see in the server.log file.


To see if you have done it right look in the server.log file and it should look something like 
below:

-----------------------------
IP       = 207.107.54.194
Port     = 1000
UserLimit= 250
-----------------------------
IP       = 207.107.54.194
Port     = 1001
UserLimit= 250
-----------------------------
IP       = 207.107.54.194
Port     = 1002
UserLimit= 250


Server started on port:1000

Server started on port:1001

Server started on port:1002


10) After you have started the servers you may change any of the image files you like and tranfer
    them over in binary format.

11) One rule of thumb try not to change the layout if you don't need to because these parameters
    do not work like an image map and are very hard to get back, if you change the numbers. The 
    reason they are hard to get back is because they are invisible fields, this is where your 
    scroller bars come into play, you can do it if you want but lets just say I warned you...

Here are the parameters I was talking about below:

<PARAM NAME="LOCATIONRECT"         VALUE="89,28,300,16"> 
<PARAM NAME="ROOMSRECT"            VALUE="455,29,100,135"> 
<PARAM NAME="USERSRECT"            VALUE="455,203,100,329"> 
<PARAM NAME="INPUTRECT"            VALUE="13,329,425,16"> 
<PARAM NAME="DISPLAYRECT"          VALUE="17,59,425,252"> 
<PARAM NAME="EXITRECT"             VALUE="390,31,41,16"> 
<PARAM NAME="MODEPOINT"            VALUE="-10,-50">


THE END...If you need tech support go to: http://vmax.netfx.com




